

#import <UIKit/UIKit.h>
#import "JYTabBarButton.h"

#define MAXNEWPOINT     10
@class JYTabBar;
@protocol JYTabBarDelegate <NSObject>
@optional
- (void)tabBar:(JYTabBar *)tabBar didSelectButtonFrom:(long)from to:(long)to;
@end

@interface JYTabBar : UIView{
    
    UIView *newPoint[MAXNEWPOINT];
    
}
@property (nonatomic, weak) id<JYTabBarDelegate> delegate;

@property (nonatomic, weak) JYTabBarButton *selectedTabBarButton;

@property (nonatomic, strong) NSMutableDictionary *pointMuDic;

/**添加一个选项卡按钮*/
- (void)addTabBarButton:(UITabBarItem *)item;
/**点击了首页按钮*/
- (void)selectedHome;

@end
